package com.czh.springboot04.service;

import com.czh.springboot04.entity.MyNotice;
import com.github.pagehelper.PageInfo;
import org.springframework.stereotype.Service;

@Service
public interface MyNoticeService {
    int mynoticeAdd(MyNotice myNotice);
    int mynoticeUpdate(MyNotice myNotice);
    int mynoticeDelete(int id);
    PageInfo<MyNotice> mynoticeSelectAll(int pageNum,int pageSize);
    PageInfo<MyNotice> mynoticeSelectByMore(int pageNum,int pageSize);
    PageInfo<MyNotice> mynoticeSelectByName(int pageNum,int pageSize,String name);

}
